package org.example.mapper;

import org.example.pojo.Notifies;

import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Description: 通知数据层
 * @Author:曹震
 * @Date: 2024/12/1 17:41
 */
@Mapper
public interface NotifyMapper {
    //发布通知
    int insert (Notifies notify);
    //呈现通知
    List<Notifies> listAll(int status);

    int  remove(int notifyId);

    Notifies findNotify();

    int editNotify(Notifies notifies);

    int setNotify();

    Notifies findNotifyById();
}
